package org.example.blogserver.user.service;

import com.github.pagehelper.PageInfo;
import org.example.blogpojo.user.domain.User;
import org.example.blogpojo.user.query.UserQuery;

import java.util.List;

public interface UserService {
    List<User> getAllUser();

    User getUserById(Long id);

    PageInfo<User> queryPage(UserQuery userQuery);

    void insertUser(User user);

    void updateUser(User user);

    void deleteUser(Long id);

    void deleteUserByIds(Long[] ids);
}
